package com.bdqn.t320.bootsecurity.service;

import com.bdqn.t320.bootsecurity.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.Map;

public interface UserService extends UserDetailsService {

    // public Page<User> findPageByMapaaaa(Map param, Pageable pageable);

    public User getUser(Long usrId);

    public User findByUsrNameAndUsrPasswordBiz(String usrName, String password);

    public Page<User> findPageByMap(Map param, Pageable pageable);

    public UserDetails loadUserByUsername(String username);
}
